//
//  ScrollPageView.h
//  轮播图
//
//  Created by xalo on 16/2/26.
//  Copyright © 2016年 王陕. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol ScrollPageViewDelegate <NSObject>

- (void)pushDetailPagesWithCurrentPages:(NSInteger)currentPages;

@end


@interface ScrollPageView : UIView

@property (nonatomic,strong) UIScrollView *scrollView;
@property (nonatomic,strong) UIPageControl *pageControl;
@property (nonatomic,strong) id<ScrollPageViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame images:(NSArray *)imagesArray modelsArray:(NSArray *)array;


@end
